</div>
<script>
    layui.config({
        version: "#{$app.version}"
    });

    layui.define(['layer', 'element'], function (exports) {

        var $ = layui.jquery, element = layui.element;
        //手机设备的简单适配
        var treeMobile = $('.site-tree-mobile')
            , shadeMobile = $('.site-mobile-shade');

        $('.layui-nav-tree a').click(() => {
            $('.net-loading').show();
        });

        treeMobile.on('click', function () {
            $('body').addClass('site-mobile');
        });
        shadeMobile.on('click', function () {
            $('body').removeClass('site-mobile');
        });

        $('.logout').click(function () {
            layer.confirm('您是否要注销登录？', {
                btn: ['确认', '取消'],
                title: "安全注销"
            }, function () {
                window.location.href = "/user/authentication/logout";
            });
        });
    });
</script>
<script src="/assets/static/jquery.qrcode.min.js"></script>
<script src="/assets/static/wangEditor.min.js"></script>
<script src="/assets/static/bootstrap-table/js/bootstrap-table.min.js"></script>
<script src="/assets/static/bootstrap-table/js/bootstrap-table-zh-CN.js"></script>
<script src="/assets/static/jsoneditor/jsoneditor.min.js"></script>

<!--start::HOOK-->
#{hook(\App\Consts\Hook::USER_VIEW_BODY)}
<!--end::HOOK-->
</body>
<!--start::HOOK-->
#{hook(\App\Consts\Hook::USER_VIEW_FOOTER)}
<!--end::HOOK-->
</html>